<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Class Index extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->data['controller'] = 'index';
        $this->load->model('Mindex');
    }
    
	public function index()
	{
		die('');
	}
	
	public function getRestaurantLabel()
    {
        $time = $this->getParamString('time');
        die(json_encode($this->Mindex->getRestaurantLabelDb($time)));
    }
    
    public function getStaticData()
    {
        $time = $this->getParamString('time');
        die(json_encode($this->Mindex->getStaticDataDb($time)));
    }
}
